﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
             x:Class="EnergyGeneratorSimVisualizer.Views.GeneralParameterView"
    x:Name="UserControl"
    d:DesignWidth="605" d:DesignHeight="263">

    <Grid x:Name="LayoutRoot">
        <Grid >
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition />
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="*" />
            </Grid.RowDefinitions>
            <TextBlock  Text="spez. elektr. Widerstand Kupfer [Ohm*m]" />
            <TextBox Grid.Column="1"
                Text="{Binding rho, StringFormat=n10}" />

            <TextBlock Grid.Row="1"
                Text="Dichte des Magnetkerns [kg/m^3]" />
            <TextBox Grid.Row="1"
                Grid.Column="2"
                Text="{Binding rhoMag, StringFormat=n0}" />

            <TextBlock Grid.Row="2"
                Text="Kapazität Kondensator Turbo [F]" />
            <TextBox Grid.Row="2"
                Grid.Column="1"
                Text="{Binding CT, StringFormat=n7}" />

            <TextBlock Grid.Row="3"
                Text="Kapazität Kondensator Input [F]" />
            <TextBox Grid.Row="3"
                Grid.Column="1"
                Text="{Binding CI, StringFormat=n7}" />

            <TextBlock Grid.Row="4"
                Text="ohm. Lastwiderstand im LC-Turbo Schwingkreis [Ohm]" />
            <TextBox Grid.Row="4"
                Grid.Column="1"
                Text="{Binding Rlast, StringFormat=n3}" />

            <TextBlock Grid.Row="5"
                Text="Rotierender Magnet: Startdrehzahl [U/min]" />
            <TextBox Grid.Row="5"
                Grid.Column="1"
                Text="{Binding UmAn, StringFormat=n0}" />

            <TextBlock Grid.Row="6"
                Text="Uc [V]" />
            <TextBox Grid.Row="6"
                Grid.Column="1"
                Text="{Binding Uc, StringFormat=n2}" />

            <TextBlock Grid.Row="7"
                Text="Spulenstrom Anfang [A]" />
            <TextBox Grid.Row="7"
                Grid.Column="1"
                Text="{Binding Il, StringFormat=n2}" />

            <TextBlock Grid.Row="8"
                Text="Koeffizient einer geschwindigkeits-proportionalen Reibung zwecks mechanischer Leistungs-Entnahme [A]" />
            <TextBox Grid.Row="8"
                Grid.Column="1"
                Text="{Binding crAnfang, StringFormat=n6}" />

            <TextBlock Grid.Row="9"
                Text="Ziehldrehzahl, die von der Reibungssteuerang angepeilt wird [A]" />
            <TextBox Grid.Row="9"
                Grid.Column="9"
                Text="{Binding phipZiel, StringFormat=n0}" />
        </Grid>
    </Grid>
</UserControl>